package rootnode

type ReplicaGroup struct {
	id      int
	members map[int]string
	state   int
}

type Account struct {
	name       string
	passwd     string
	containers map[string]*Container
}

type Container struct {
	name           string
	account        *Account
	partitionList  *Partition
	partitionCount int
}

type Partition struct {
	replicaGroup      int
	state             int
	totalRows         int64
	totalBytes        int64
	leftKey, rightKey string

	next *Partition
}
